import numpy as np

# 设置 NumPy 打印选项，确保打印所有元素
np.set_printoptions(threshold=np.inf)

dtype = np.float16
# dtype = np.float32
# dtype = np.int32
shape = [1,128,128]

# 读取 input_x.bin
input_x = np.fromfile("../input/input_x.bin", dtype=dtype).reshape(shape)

# 读取 output.bin
output = np.fromfile("../output/output.bin", dtype=dtype).reshape(shape)

# 读取 golden.bin
golden = np.fromfile("../output/golden.bin", dtype=dtype).reshape(shape)

# 打印读取的数据以验证
print("Input X data:")
print(input_x)

# 打印读取的数据以验证
print("Output data:")
print(output)

print("\nGolden data:")
print(golden)
